package org.zsl.controller.springmvc;

import org.springframework.web.bind.annotation.*;
import org.zsl.model.ResponseMsg;

@RestController
@CrossOrigin
public class RestfulController {

       @RequestMapping(value="/rest/get/{testId}",method = RequestMethod.DELETE)
       public ResponseMsg getSingle(@PathVariable("testId") Integer testId){

           ResponseMsg responseMsg = new ResponseMsg();
           System.out.println(testId);
             return  responseMsg;
       }
}
